
#include <iostream>
#include <limits>

/**
 * 用cout打印您的C++实现中所有基本类型的极值以及size。
*/
using namespace std;

int main()
{

    cout << "Int Max:" << numeric_limits<int>::max() << "\tInt Min:" << numeric_limits<int>::min() << "\tInt size:" << sizeof(int) << endl;
    cout << "UInt Max:" << numeric_limits<unsigned int>::max() << "\tUInt Min:" << numeric_limits<unsigned int>::min() << "\tUInt size:" << sizeof(unsigned int) << endl;
    cout << "LInt Max:" << numeric_limits<long int>::max() << "\tLInt Min:" << numeric_limits<long int>::min() << "\tLInt size:" << sizeof(long int) << endl;
    cout << "LLInt Max:" << numeric_limits<long long int>::max() << "\tLLInt Min:" << numeric_limits<long long int>::min() << "\tLLInt size:" << sizeof(long long int) << endl;
    cout << "SInt Max:" << numeric_limits<short int>::max() << "\tSInt Min:" << numeric_limits<short int>::min() << "\tSInt size:" << sizeof(short int) << endl;

    cout << "Float Max:" << numeric_limits<float>::max() << "\tFloat Min:" << numeric_limits<float>::min() << "\tFloat size:" << sizeof(float) << endl;
    cout << "Double Max:" << numeric_limits<double>::max() << "\tDouble Min:" << numeric_limits<double>::min() << "\tDouble size:" << sizeof(double) << endl;

    cout << "Char Max:" << (int)numeric_limits<char>::max() << "\tChar Min:" << (int)numeric_limits<char>::min() << "\tChar size:" << sizeof(char) << endl;
    cout << "UChar Max:" << (int)numeric_limits<unsigned char>::max() << "\tUChar Min:" << (int)numeric_limits<unsigned char>::min() << "\tUChar size:" << sizeof(unsigned char) << endl;
    cout << "WChar Max:" << (int)numeric_limits<wchar_t>::max() << "\tWChar Min:" << (int)numeric_limits<wchar_t>::min() << "\tWChar size:" << sizeof(wchar_t) << endl;

    cout << "Bool Max:" << numeric_limits<bool>::max() << "\tBool Min:" << numeric_limits<bool>::min() << "\tBool size:" << sizeof(int) << endl;
    return 0;
}